const getApis = (state, dispatch) => {
    return () => {
        return fetch("https://api.github.com/").then(res => {
            return res.json().then(data => {
                dispatch({ type: "ReceiveGitApis", data })
            })
        })
    }
}

export {
    getApis
}